<%-- 
    Document   : manage
    Created on : 2015-6-25, 20:09:11
    Author     : MY
--%>

<%@page import="bookstore.model.Customer"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link rel="stylesheet" href="/iBook/css/all.css" type="text/css"/>
        <title>个人信息首页</title>       
    </head>
    <body>
        <script>
            window.onload=function()
            {
              var ispassword = "<%=session.getAttribute("ispassword")%>" ;
              var isinfo = "<%=session.getAttribute("isinfo")%>" ;
              if(ispassword == 1)
                  alert("修改密码成功!");
              if(isinfo == 1)
                  alert("修改信息成功！");
            };
        </script>
        <% session.setAttribute("ispassword",0);%>
        <% session.setAttribute("isinfo",0);%>
        <jsp:include  page="/common/top.jsp"/>
        <div id="content">
            <div id="left">
                <jsp:include  page="/customer/left.jsp"/>
            </div>
            <div id="right">
                <p>个人信息首页</p>
                <p>----------------------------------------</p>
                <%
                    Customer customer = (Customer)session.getAttribute("bsCustomer");     
                %>
                <ul> 
                <li><p>账户：<%=customer.getName()%></li>
                <li><p>姓名：<%=customer.getRealName()%></li>
                <li><p>电话：<%=customer.getPhone()%></li>
                <li><p>邮件：<%=customer.getEmail()%></li>
                <li><p>地址：<%=customer.getAddress()%></li>
               <li> <p>邮编：<%=customer.getZipcode()%></li>
                </ul>>
            </div>
        </div>
        <jsp:include  page="/common/bottom.jsp"/>
    </body>
</html>
